package com.SyDeck.sdPerkSystem.prop;

import com.SyDeck.sdPerkSystem.prop.propertiesMethods;

/**
 *
 *  @author Deck & Sammy
 */
public class sdPerksProperties {

    private static final String currencyDIR = "plugins/RPGmod/Rank/";
    public static String InitialVocation;
    public static int CostOfNewVocation;
    public static int ZombieExp;
    public static int SkeletonExp;
    public static int SpiderExp;
    public static int CreeperExp;

    public static void loadMiningProps() {
        String propFile = currencyDIR + "Ranks.prop";
        propertiesMethods prop = new propertiesMethods(propFile);
        prop.loadPro();
        CostOfNewVocation = prop.getInteger("CostOfNewVocation", 50000);
        InitialVocation = prop.getString("InitialVocation", "peasant");
        ZombieExp = prop.getInteger("ZombieExp", 10);
        SkeletonExp = prop.getInteger("SkeletonExp", 15);
        SpiderExp = prop.getInteger("SpiderExp", 20);
        CreeperExp = prop.getInteger("CreeperExp", 50);
        prop.SavePro("== RPGmod Rank Properties ==");
    }
}
